<template>
  <wx-open-launch-weapp
    class="w-full absolute"
    username="gh_a82a71d44837"
    :path="path"
  >
    <div v-is="'script'" type="text/wxtag-template">
      <div v-is="'style'">
        .wx-btn { display: block; box-sizing:border-box; width: 88%; background:
        transparent; padding: 1rem; }
      </div>
      <button class="wx-btn">click</button>
    </div>
  </wx-open-launch-weapp>

  <van-button
    block
    type="success"
    size="large"
    class="text-lg pointer-events-none absolute top-0 inset-x-0 rounded"
  >
    <i class="iconfont icon-wechat mr-1"></i>
    微信用户一键登录</van-button
  >
</template>

<script>
export default {
  props: ['path'],
}
</script>

<style>
</style>